home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / os2 / htm2txt1.zip / MAKEOBJ.CMD < prev    next >
OS/2 REXX Batch file  |  1996-07-12  |  940b  |  16 lines

  1. /* --------------------- REXX -------------------------------------------- */
  2. /* 96-07-12 or make Desktop Object for HTM2TXT                             */
  3. /* ----------------------------------------------------------------------- */
  4. /* note: start this command from the directory where HTM2TXT.CMD is held   */
  5. /* ----------------------------------------------------------------------- */
  6.    if RxFuncAdd('SysLoadFuncs','RexxUtil','SysLoadFuncs') then call SysLoadFuncs
  7. /* ----------------------------------------------------------------------- */
  8.    f_name = '<WP_DESKTOP>'
  9.    p_name = '<HTM2TXT>'
  10.  
  11.    call SysCreateObject 'WPProgram','HTML to Text',f_name,'OBJECTID='p_name
  12.    call SysSetObjectData p_name,'EXENAME=htm2txt.cmd'
  13.    call SysSetObjectData p_name,'PROGTYPE=PM'
  14.    call SysSetObjectData p_name,'ICONFILE='directory()'\htm2txt.ico'
  15. /* ----------------------------------------------------------------------- */
  16.